<nz-modal
  [(nzVisible)]="nzVisible" 
  [nzTitle]="title" 
  (nzOnCancel)="modalHandleCancel()" 
  (nzOnOk)="modalHandleOk()"
  [nzOkText]="okBtnText"
  [nzCancelText]="cancelBtnText"
  [nzContent]="modalContent"
  [nzWidth]="800"
  [nzStyle]="{ top: '10px' }"
  [nzOkLoading]="btnLoading"
  [nzCancelLoading]="btnLoading"
>

</nz-modal>
<ng-template #modalContent>
<nz-spin [nzTip]="'等待中。。。'" [nzSize]="'large'" [nzSpinning]="nzSpinning">
  <div id="pdfpreview" class="modal-content" style="height: 420px;">
  </div>
</nz-spin>
</ng-template>